package com.tongfusoft.document.entity;

import javax.persistence.Entity;

import com.tongfusoft.spring.web.core.data.BaseData;

@Entity
public class RoleHasPrivileges extends BaseData {
	/**
	
	*/
	private String rpId;
	/**
	 
	*/
	private String roleId;
	
	/**
	 * 角色名称
	 */
	private String roleName;
	
	/**
	 * 权限ID
	 */
	private String priId;
	
	/**
	 * 权限名称
	 */
	private String priName;
	
	private String priDesc;
	
	/**
	 * 是否有效 1是，0否
	 */
	private String status;
	

	public String getPriDesc() {
		return priDesc;
	}

	public void setPriDesc(String priDesc) {
		this.priDesc = priDesc;
	}

	@Override
	public String getPkName() {
		return "rpId";
	}

	public String getRpId() {
		return rpId;
	}

	public void setRpId(String rpId) {
		this.rpId = rpId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}


	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getPriId() {
		return priId;
	}

	public void setPriId(String priId) {
		this.priId = priId;
	}

	public String getPriName() {
		return priName;
	}

	public void setPriName(String priName) {
		this.priName = priName;
	}
	
}